export const UserInfo = {
  id: 1,
  username: 'user',
  avatar: '',
  token: 'mock-token-frontend',
}

export const AdminInfo = {
  id: 1,
  username: 'admin',
  avatar: '',
  token: 'mock-token-admin',
  role: 'admin',
  permissions: ['dashboard', 'products', 'categories', 'orders', 'users'],
};

export const ManagerInfo = {
  id: 2,
  username: 'manager',
  avatar: '',
  token: 'mock-token-manager',
  role: 'manager',
  permissions: ['dashboard', 'products', 'categories', 'orders'],
};

export const Orders = [
  {
    id: '10001',
    createTime: '2025-06-01T10:00:00Z',
    totalPrice: 2485.00,
    totalCount: '2',
    orderItems: [
      {
        id: 'p1',
        quantity: '1',
        name: '雅诗兰黛小棕瓶护肤品套装',
        image: 'https://img11.360buyimg.com/n5/s720x720_jfs/t1/295427/5/2551/144905/6836e3dbF47a60b31/4d3be21f4a38e3cc.png.avif',
        price: 1165.00
      },
      {
        id: 'p2',
        quantity: '1',
        name: '海蓝之谜修护精萃水150ml',
        image: 'https://img10.360buyimg.com/n5/s720x720_jfs/t1/315763/14/5654/178557/683a6fa1F8848ad1c/9cfbb5eb7c179865.jpg.avif',
        price: 1320.00
      }
    ],
    address: {
      name: '张三',
      phone: '13800000001',
      province: '广东省',
      district: '天河区',
      address: '天河路100号'
    },
    paymentMethod: 'alipay',
    status: 'pending',
    payTime: '',
    shipTime: '',
    completionTime: '',
    cancelTime: '',
    trackingNumber: '',
    remark: '',
    shipRemark: ''
  },
  {
    id: '10002',
    createTime: '2025-06-01T11:30:00Z',
    totalPrice: 740.00,
    totalCount: '1',
    orderItems: [
      {
        id: 'p3',
        quantity: '1',
        name: 'TOM FORD 幻魅四色眼影盘',
        image: 'https://img11.360buyimg.com/n5/s720x720_jfs/t1/306328/6/6524/211774/68399e13F711d5483/c3fbda3568e94e5b.jpg.avif',
        price: 740.00
      }
    ],
    address: {
      name: '李四',
      phone: '13800000002',
      province: '江苏省',
      district: '鼓楼区',
      address: '中山路200号'
    },
    paymentMethod: 'wechat',
    status: 'paid',
    payTime: '2025-06-01T11:35:00Z',
    shipTime: '',
    completionTime: '',
    cancelTime: '',
    trackingNumber: '',
    remark: '请尽快发货',
    shipRemark: ''
  }
];

export const Categories = [
  { id: 1, name: '美妆', icon: '💄', status: 'active', sort: 1 },
  { id: 2, name: '母婴', icon: '🍼', status: 'active', sort: 2 },
  { id: 3, name: '图书', icon: '📚', status: 'active', sort: 3 },
  { id: 4, name: '运动', icon: '⚽', status: 'active', sort: 4 },
  { id: 5, name: '家居', icon: '🏠', status: 'active', sort: 5 }
];

export const Users = [
  {
    id: 1,
    username: 'admin',
    email: 'admin@example.com',
    phone: '13800138000',
    role: 'admin',
    status: 'active',
    createTime: '2023-01-01T10:00:00.000Z',
    lastLoginTime: '2023-05-20T15:30:00.000Z'
  },
  {
    id: 2,
    username: 'manager',
    email: 'manager@example.com',
    phone: '13800138001',
    role: 'manager',
    status: 'active',
    createTime: '2023-01-15T10:00:00.000Z',
    lastLoginTime: '2023-05-20T14:30:00.000Z'
  },
  {
    id: 3,
    username: 'user',
    email: 'user@example.com',
    phone: '13900139000',
    role: 'user',
    status: 'active',
    createTime: '2023-02-15T14:20:00.000Z',
    lastLoginTime: '2023-05-19T09:45:00.000Z'
  }
];

export const Role = [
  {
    id: 1,
    name: 'admin',
    description: '系统管理员，拥有所有权限',
    permissions: ['dashboard', 'products', 'categories', 'orders', 'users']
  },
  {
    id: 2,
    name: 'manager',
    description: '商店管理员，可以管理商品、订单和分类',
    permissions: ['dashboard', 'products', 'categories', 'orders']
  },
  {
    id: 3,
    name: 'user',
    description: '普通用户，只能查看',
    permissions: ['dashboard']
  }
];

export const Banners = [
  {
    id: 1,
    image: 'https://img13.360buyimg.com/n5/s720x720_jfs/t1/300287/8/10536/117805/68392d77Fb6f86ac5/aa445be51a131e9e.jpg.avif',
    link: '/product/p1'
  },
  {
    id: 2,
    image: 'https://img11.360buyimg.com/n5/s720x720_jfs/t1/305505/10/3616/311718/682c9440F78df0fc0/566a8f0867a226d6.jpg.avif',
    link: '/product/p2'
  },
  {
    id: 3,
    image: 'https://img11.360buyimg.com/n5/s720x720_jfs/t1/306328/6/6524/211774/68399e13F711d5483/c3fbda3568e94e5b.jpg.avif',
    link: '/product/p3'
  }
];

// 美妆产品
export const BeautyProducts = [
  {
    categoryId: 1,
    id: 'p1',
    images: ['https://img11.360buyimg.com/n5/s720x720_jfs/t1/295427/5/2551/144905/6836e3dbF47a60b31/4d3be21f4a38e3cc.png.avif'],
    name: '雅诗兰黛小棕瓶护肤品套装',
    price: 1165.0,
    stock: 100,
    sales: 256,
    status: 'on',
    originalPrice: 1299.0,
    description: '雅诗兰黛小棕瓶护肤品套装(棕瓶30ml+棕眼15ml)化妆品礼盒生日礼物',
    detailImages: ['https://img11.360buyimg.com/n5/s720x720_jfs/t1/295427/5/2551/144905/6836e3dbF47a60b31/4d3be21f4a38e3cc.png.avif'],
    specifications: [
      { key: '品牌', value: '雅诗兰黛' },
      { key: '产地', value: '美国' },
      { key: '容量', value: '30ml+15ml' },
      { key: '适合肌肤', value: '所有肌肤' }
    ]
  },
  {
    categoryId: 1,
    id: 'p2',
    images: ['https://img10.360buyimg.com/n5/s720x720_jfs/t1/315763/14/5654/178557/683a6fa1F8848ad1c/9cfbb5eb7c179865.jpg.avif'],
    name: '海蓝之谜修护精萃水150ml',
    price: 1320.0,
    stock: 50,
    sales: 189,
    status: 'on',
    originalPrice: 1450.0,
    description: '海蓝之谜修护精萃水150ml精粹水精华液护肤品套装化妆品礼盒',
    detailImages: ['https://img10.360buyimg.com/n5/s720x720_jfs/t1/315763/14/5654/178557/683a6fa1F8848ad1c/9cfbb5eb7c179865.jpg.avif'],
    specifications: [
      { key: '品牌', value: '海蓝之谜' },
      { key: '产地', value: '美国' },
      { key: '容量', value: '150ml' },
      { key: '适合肌肤', value: '所有肌肤' }
    ]
  },
  {
    categoryId: 1,
    id: 'p3',
    images: ['https://img11.360buyimg.com/n5/s720x720_jfs/t1/306328/6/6524/211774/68399e13F711d5483/c3fbda3568e94e5b.jpg.avif'],
    name: 'TOM FORD 幻魅四色眼影盘',
    price: 740.0,
    stock: 30,
    sales: 98,
    status: 'on',
    originalPrice: 850.0,
    description: 'TOM FORD 幻魅四色TF眼影盘20 琉光蜜桃盘10g 生日礼物',
    detailImages: ['https://img11.360buyimg.com/n5/s720x720_jfs/t1/306328/6/6524/211774/68399e13F711d5483/c3fbda3568e94e5b.jpg.avif'],
    specifications: [
      { key: '品牌', value: 'TOM FORD' },
      { key: '产地', value: '意大利' },
      { key: '容量', value: '10g' },
      { key: '颜色', value: '琉光蜜桃' }
    ]
  },
  {
    categoryId: 1,
    id: 'p4',
    images: ['https://img13.360buyimg.com/n5/s720x720_jfs/t1/300287/8/10536/117805/68392d77Fb6f86ac5/aa445be51a131e9e.jpg.avif'],
    name: '阿玛尼红管唇釉#405番茄红',
    price: 400.0,
    stock: 85,
    sales: 432,
    status: 'on',
    originalPrice: 460.0,
    description: '阿玛尼红管唇釉#405番茄红 口红礼盒唇蜜 礼盒生日礼物女',
    detailImages: ['https://img13.360buyimg.com/n5/s720x720_jfs/t1/300287/8/10536/117805/68392d77Fb6f86ac5/aa445be51a131e9e.jpg.avif'],
    specifications: [
      { key: '品牌', value: '阿玛尼' },
      { key: '产地', value: '意大利' },
      { key: '容量', value: '6.5ml' },
      { key: '色号', value: '#405番茄红' }
    ]
  },
  {
    categoryId: 1,
    id: 'p5',
    images: ['https://img11.360buyimg.com/n5/s720x720_jfs/t1/305505/10/3616/311718/682c9440F78df0fc0/566a8f0867a226d6.jpg.avif'],
    name: '迪奥DIOR烈艳蓝金口红999',
    price: 400.0,
    stock: 120,
    sales: 667,
    status: 'on',
    originalPrice: 450.0,
    description: '迪奥DIOR烈艳蓝金口红丝绒哑光999唇膏3.5g化妆品礼袋',
    detailImages: ['https://img11.360buyimg.com/n5/s720x720_jfs/t1/305505/10/3616/311718/682c9440F78df0fc0/566a8f0867a226d6.jpg.avif'],
    specifications: [
      { key: '品牌', value: '迪奥' },
      { key: '产地', value: '法国' },
      { key: '容量', value: '3.5g' },
      { key: '色号', value: '999正红色' }
    ]
  }
];

// 母婴产品
export const BabyProducts = [
  {
    categoryId: 2,
    id: 'p11',
    images: ['https://img14.360buyimg.com/n5/s720x720_jfs/t1/161612/5/39704/105778/64d31ed7F31abfb10/89f1e65098a44331.jpg.avif'],
    name: '迪士尼婴儿衣服礼盒',
    price: 192.0,
    stock: 200,
    sales: 456,
    status: 'on',
    originalPrice: 229.0,
    description: '迪士尼婴儿衣服礼盒新生儿套装春夏秋冬刚出生男女宝宝满月礼物用品',
    detailImages: ['https://img14.360buyimg.com/n5/s720x720_jfs/t1/161612/5/39704/105778/64d31ed7F31abfb10/89f1e65098a44331.jpg.avif'],
    specifications: [
      { key: '品牌', value: '迪士尼' },
      { key: '材质', value: '纯棉' },
      { key: '适合年龄', value: '0-3个月' },
      { key: '包装', value: '礼盒装' }
    ]
  },
  {
    categoryId: 2,
    id: 'p12',
    images: ['https://img14.360buyimg.com/n5/s720x720_jfs/t1/301503/4/10784/120895/683979faF5003aefd/282280e8a9a505da.jpg.avif'],
    name: '迪士尼婴儿玩具套装',
    price: 168.0,
    stock: 150,
    sales: 324,
    status: 'on',
    originalPrice: 198.0,
    description: '迪士尼婴儿玩具0-6-12个月新生儿见面礼物高档生日礼盒',
    detailImages: ['https://img14.360buyimg.com/n5/s720x720_jfs/t1/301503/4/10784/120895/683979faF5003aefd/282280e8a9a505da.jpg.avif'],
    specifications: [
      { key: '品牌', value: '迪士尼' },
      { key: '材质', value: '安全塑料' },
      { key: '适合年龄', value: '0-12个月' },
      { key: '功能', value: '早教启发' }
    ]
  },
  {
    categoryId: 2,
    id: 'p13',
    images: ['https://img12.360buyimg.com/n5/s720x720_jfs/t1/286320/34/5371/95625/683aa1dbFe4249dcd/dad8b59c4d671691.jpg.avif'],
    name: '可心柔婴儿纸巾',
    price: 41.9,
    stock: 500,
    sales: 1024,
    status: 'on',
    originalPrice: 49.9,
    description: '可心柔婴儿纸巾云柔巾三层80抽*16包抽纸整箱乳霜纸',
    detailImages: ['https://img12.360buyimg.com/n5/s720x720_jfs/t1/286320/34/5371/95625/683aa1dbFe4249dcd/dad8b59c4d671691.jpg.avif'],
    specifications: [
      { key: '品牌', value: '可心柔' },
      { key: '规格', value: '80抽*16包' },
      { key: '层数', value: '三层' },
      { key: '特点', value: '乳霜柔软' }
    ]
  }
];

// 图书产品
export const BookProducts = [
  {
    categoryId: 3,
    id: 'p21',
    images: ['https://img11.360buyimg.com/n5/s720x720_jfs/t1/302901/4/4458/200031/681dc368Fc7ba2161/d88245e48f3b181c.jpg.avif'],
    name: '全套3册 爱的教育小英雄雨来童年书',
    price: 14.5,
    stock: 500,
    sales: 1203,
    status: 'on',
    originalPrice: 18.9,
    description: '全套3册 爱的教育小英雄雨来童年书高尔基原著完整版快乐读书吧推荐',
    detailImages: ['https://img11.360buyimg.com/n5/s720x720_jfs/t1/302901/4/4458/200031/681dc368Fc7ba2161/d88245e48f3b181c.jpg.avif'],
    specifications: [
      { key: '出版社', value: '人民文学出版社' },
      { key: '作者', value: '高尔基等' },
      { key: '页数', value: '约600页' },
      { key: '适合年龄', value: '6-12岁' }
    ]
  },
  {
    categoryId: 3,
    id: 'p22',
    images: ['https://img13.360buyimg.com/n5/s720x720_jfs/t1/315044/23/4178/97223/6833e28cFa5284248/24072c9689e57a49.jpg.avif'],
    name: '桃花源没事儿 马伯庸新书',
    price: 35.0,
    stock: 300,
    sales: 789,
    status: 'on',
    originalPrice: 42.0,
    description: '桃花源没事儿 马伯庸新书 "见微"历史短小说系列2025年新作',
    detailImages: ['https://img13.360buyimg.com/n5/s720x720_jfs/t1/315044/23/4178/97223/6833e28cFa5284248/24072c9689e57a49.jpg.avif'],
    specifications: [
      { key: '出版社', value: '中南传媒' },
      { key: '作者', value: '马伯庸' },
      { key: '页数', value: '约300页' },
      { key: '类型', value: '历史小说' }
    ]
  },
  {
    categoryId: 3,
    id: 'p23',
    images: ['https://img14.360buyimg.com/n1/s720x720_jfs/t1/279631/32/15122/133322/67ee4b4fF92a483a7/1a8a9065153227ba.jpg.avif'],
    name: '我与地坛 精装纪念版 史铁生',
    price: 17.5,
    stock: 250,
    sales: 567,
    status: 'on',
    originalPrice: 23.0,
    description: '我与地坛 精装纪念版 史铁生（2024年百班千人寒假书单 九年级推荐阅读）',
    detailImages: ['https://img14.360buyimg.com/n1/s720x720_jfs/t1/279631/32/15122/133322/67ee4b4fF92a483a7/1a8a9065153227ba.jpg.avif'],
    specifications: [
      { key: '出版社', value: '人民文学出版社' },
      { key: '作者', value: '史铁生' },
      { key: '装帧', value: '精装' },
      { key: '适合年龄', value: '青少年及成人' }
    ]
  }
];

// 运动产品
export const SportProducts = [
  {
    categoryId: 4,
    id: 'p31',
    images: ['https://img12.360buyimg.com/n5/s720x720_jfs/t1/284227/13/9956/51141/67e3e9e8F27c08279/1155aed2eb3495fd.jpg.avif'],
    name: '维多利亚旅行者跑步运动套装男',
    price: 99.0,
    stock: 80,
    sales: 234,
    status: 'on',
    originalPrice: 129.0,
    description: '维多利亚旅行者跑步运动套装男春夏速干紧身衣篮球服健身服',
    detailImages: ['https://img12.360buyimg.com/n5/s720x720_jfs/t1/284227/13/9956/51141/67e3e9e8F27c08279/1155aed2eb3495fd.jpg.avif'],
    specifications: [
      { key: '品牌', value: '维多利亚旅行者' },
      { key: '材质', value: '速干涤纶' },
      { key: '尺码', value: 'M/L/XL/XXL' },
      { key: '功能', value: '吸汗透气' }
    ]
  },
  {
    categoryId: 4,
    id: 'p32',
    images: ['https://img13.360buyimg.com/n1/s720x720_jfs/t1/275142/36/26084/42232/68075145Ff18a9481/759aee37eb3a6bdc.png.avif'],
    name: '李宁运动裤男士速干跑步',
    price: 119.0,
    stock: 120,
    sales: 567,
    status: 'on',
    originalPrice: 149.0,
    description: '李宁运动裤男士速干跑步裤子夏季休闲裤冰丝长裤直筒男裤',
    detailImages: ['https://img13.360buyimg.com/n1/s720x720_jfs/t1/275142/36/26084/42232/68075145Ff18a9481/759aee37eb3a6bdc.png.avif'],
    specifications: [
      { key: '品牌', value: '李宁' },
      { key: '材质', value: '速干纤维' },
      { key: '尺码', value: 'M/L/XL/XXL' },
      { key: '功能', value: '速干透气' }
    ]
  }
];

// 家居产品
export const HomeProducts = [
  {
    categoryId: 5,
    id: 'p41',
    images: ['https://img14.360buyimg.com/n5/s720x720_jfs/t1/315271/24/2223/70856/682af39dFcdc86091/406084db2839a0e0.jpg.avif'],
    name: '收米指甲刀套装',
    price: 18.8,
    stock: 300,
    sales: 890,
    status: 'on',
    originalPrice: 25.0,
    description: '收米指甲刀套装甲沟剪专用不锈钢修剪修脚刀去死皮剪修甲工具',
    detailImages: ['https://img14.360buyimg.com/n5/s720x720_jfs/t1/315271/24/2223/70856/682af39dFcdc86091/406084db2839a0e0.jpg.avif'],
    specifications: [
      { key: '品牌', value: '收米' },
      { key: '材质', value: '不锈钢' },
      { key: '件数', value: '15件套' },
      { key: '功能', value: '全套修甲' }
    ]
  },
  {
    categoryId: 5,
    id: 'p42',
    images: ['https://img10.360buyimg.com/n5/s720x720_jfs/t1/317920/18/716/92960/682540c7F44804428/14b2eaebef229e66.jpg.avif'],
    name: 'ZOBO正牌戒烟替代品',
    price: 17.8,
    stock: 220,
    sales: 156,
    status: 'on',
    originalPrice: 22.8,
    description: 'ZOBO正牌戒烟替代品替烟薄荷吸棒辅助戒烟香烟替代品缓解烟瘾神器',
    detailImages: ['https://img10.360buyimg.com/n5/s720x720_jfs/t1/317920/18/716/92960/682540c7F44804428/14b2eaebef229e66.jpg.avif'],
    specifications: [
      { key: '品牌', value: 'ZOBO' },
      { key: '口味', value: '薄荷味' },
      { key: '规格', value: '1小盒2支' },
      { key: '功能', value: '戒烟辅助' }
    ]
  }
];

// 合并所有产品
export const Products = [
  ...BeautyProducts,
  ...BabyProducts,
  ...BookProducts,
  ...SportProducts,
  ...HomeProducts
];

// 添加收藏数据结构
export const Favorites = [
  {
    userId: 1,
    productId: 'p1',
    addTime: '2025-06-02T10:00:00Z'
  },
  {
    userId: 1,
    productId: 'p3',
    addTime: '2025-06-02T11:30:00Z'
  }
]; 